

        <div class="section-content" style="min-width: 200px;">
					<div class="row row-section-content" id="blog-section-content">
						<div class="col-md-8 col-xs-12 col-sm-12 left" id="blog-section-left">
								<div class="my-panel video-panel">
									<div class="panel-title">
									<a href="<?php echo $data['category']['subcategory']['url']; ?>" class="video-panel-title-a"><?php echo $data['category']['subcategory']['name']; ?></a> 
									</div>
								<ul class="breadcrumb video_breadcrumb">
                                        <li><a href="<?php echo HOME ?>"><i class="fa fa-home"></i></a></li>
                                        <li><a href="<?php echo HOME ?>blog">Blog</a></li>
                                         <li><a href="<?php echo $data['category']['main']['url']; ?>"><?php echo $data['category']['main']['name']; ?></a></li>
                                            <li><a href="<?php echo $data['category']['subcategory']['url']; ?>"><?php echo $data['category']['subcategory']['name']; ?></a></li>
                            
                       		 	</ul>
                                
                                  <?php
							
                                	if($data['category']['sub']){
												$str.='<div class="wrap-sub-blog-category">';
													foreach($data['category']['sub'] as $r2){
													$string.='<a href="'.$r2['url'].'" class="sub-blog-category badge">'.$r2['name'].'</a>  '; 
													}
												
													$str.=$string;
												$str.='</div>';
												} // IF(SUB)
                                	echo $str;
                                ?>
                                
                                <div style="background-color:#fafafa; padding-top:10px">
                                <?php echo blog_render_row_category($data['info']); ?>
                                </div>
								<div class="clr"></div>
                                <?php echo $data['nav']; ?>
							</div>
							
						</div><!-- /.blog-section-left -->
						
                        <div class="col-md-4 col-sm-12 col-xs-12 col-xxs-12 col-xxxs-12 right">
                        	<div class="right-section" style="margin-top:10px">
                        <!-- TAB POST -->
                                <div class="chapt-panel" id="">
								<div role="tabpanel" class="chapt-tab">
									<div class="chapt-header" id="blog-chapt-header" style="margin-bottom:0px">
										<ul class="nav nav-pills">
											<li role="presentation" class="active"><a data-toggle="tab" href="#blog-newest">MỚI ĐĂNG</a></li>
                                     		<li role="presentation"><a data-toggle="tab" href="#blog-hot">HOT<span class="badge"></span></a></li>
                                       	
										</ul>
									</div>
									
									<div class="tab-content" style="padding:0px">
										<div class="tab-pane active fade in" id="blog-newest">
                                        	<?php 
											$vals=blog_get_posts("subcategory","new",$_GET['id'],10);
											echo blog_render_item_right($vals); ?>
											
										</div>
                                        <div class="tab-pane fade in" id="blog-hot">
                                        <?php 
											$vals=blog_get_posts("subcategory","pick",$_GET['id'],10);
											echo blog_render_item_right($vals); ?>
											
										</div>
                                        
										
									</div> <!-- End tab content -->
								</div><!-- /.chapt-tab -->
						</div><!-- /.chapt-panel -->
                            <!-- End tab post -->
                        
                        	<!-- Start Comemnt -->
                            		    <?php // echo blog_render_right_comment(); ?>
						
                        </div> <!-- End col-md-4 right -->
					
					</div><!-- /#blog-section-content -->
				</div>	<!-- /.section-content -->